import { initJSAPI, JSAPI } from './jsapi'
import fs from 'fs'
import path from 'path'
import { argv } from 'yargs'
import { initDraggable } from './draggable'

initJSAPI()
window.fs = fs
window.path = path

window.addEventListener('DOMContentLoaded', async () => {
    initDraggable()
})

console.log(argv)
export { JSAPI }
